<%--
  @author Supun Viraj Rathnayaka
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<script type="text/javascript">
    $(function () {
        $('#migrate').bind('click', function (evt1) {
            var id = $("select#railwayTrackId").attr("value");
            $.getJSON('${pageContext.request.contextPath}/common/RailwayLandLookupService', {id: id, mode: "mig", type: 1},
                    function (data) {

                    });
        });
    });
</script>

<div id="land-registration-module-home-title" class="module-home-title">
    <s:a href="paymentModule.do">
        <span><img src="${pageContext.request.contextPath}/images/payment.png" alt="Land Registration">
            <s:label value="%{getText('land_payments_module.label')}"/></span>
    </s:a>
    <span class="module-title-breaker"> > </span>
    <s:a href="detailForm.do">
        <span><img src="${pageContext.request.contextPath}/images/monthly-rent.png" alt="Enter Detailed Land Information">
            <s:label value="Annual Rent"/></span>
    </s:a>
    <div id="back-button" align="right">
        <s:form><s:submit value="%{getText('back_btn.label')}" action="landRegistrationModule"/></s:form>
    </div>
</div>
<div id="detail-land-update-list">
    <div class="page-title">
        <h2><s:label value="Payment Invoice"/></h2>
    </div>
    <s:if test="hasActionErrors() || hasActionMessages()">
        <div id="message-box" class="message-box">
            <div class="action-msg"><s:actionmessage/></div>
            <div class="action-err"><s:actionerror/></div>
        </div>
    </s:if>
    <div id="pay-slip">
        <s:submit id="migrate" value="%{getText('Migrate')}" />
    </div>
</div>


